Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Added 1984 ISA 1976 Standard atmosphere with tests. #17

Merged
merged 3 commits into from
Jan 4, 2016

Conversation

AlexS12
Copy link
Member

@AlexS12 AlexS12 commented Jan 1, 2016

These version of ISA is designed to be called with only one value of altitude instead of an array. Performance improvements can be done with numba.

He tomado como base la rama de la ISA que hizo Juanlu con ligeras modificaciones:

  • La he dejado preparada para llamarla valor a valor. En principio no preveo que haga falta llamarla con arrays. En cualquier caso, con pequeñas modificaciones se puede hacer algo parecido a esto https://github.com/AeroPython/aeropy/blob/juanlu-numba/jnumba/isa.py con relativa facilidad.
  • He añadido más capas (todas las disponibles).
  • He sustituido los warnings por errores.
  • No he añadido la optimización en numba.

Este Pull Request cerrará #9

These version of ISA is designed to be called with only one value of altitude instead of an array. Performance improvements can be done with numba.
@AlexS12 AlexS12 added this to the Tareas iniciales milestone Jan 1, 2016
@AlexS12 AlexS12 assigned AlexS12 and astrojuanlu and unassigned AlexS12 Jan 1, 2016
for ii, h_ in enumerate(h):
T, p, rho = atm(h_)
assert_almost_equal(T, expected_T[ii], decimal=3)
assert_almost_equal(rho, expected_rho[ii], decimal=4)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing end of line

@astrojuanlu
Copy link
Member

He añadido un par de comentarios estilísticos de poca importancia pero el fondo está perfecto 👍

…es section and the available altitude range in the function.
@AlexS12
Copy link
Member Author

AlexS12 commented Jan 1, 2016

He hecho unos cambios en esa rama. Supongo que se actualiza automáticamente y no tengo que hacer otro pull request, no?

@astrojuanlu
Copy link
Member

@AlexS12 Efectivamente, la rama queda asociada al pull request 😁

@AlexS12
Copy link
Member Author

AlexS12 commented Jan 3, 2016

Si no hay más propuestas de cambios se puede hacer el merge

@astrojuanlu
Copy link
Member

:shipit:

astrojuanlu added a commit that referenced this pull request Jan 4, 2016
Add 1984 ISA 1976 Standard atmosphere with tests
@astrojuanlu astrojuanlu merged commit c2bed14 into AeroPython:master Jan 4, 2016
@AlexS12 AlexS12 deleted the isa branch January 16, 2016 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants